package com.suieqian.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.suieqian.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

/**
 * @author win10
 */
public interface UserDao extends BaseMapper<User> {


    @Select({
            "select * from user where user_account = #{userAccount}"
    })
    @ResultType(User.class)
    User selectByAccount(@Param("userAccount") String userAccount);


}
